Skip to content

Conversation

@ardatan
Copy link
Member

@ardatan ardatan commented Oct 13, 2025

TODO

  • Examples for
    • Context sharing between hooks
    • Auth
    • Launchdarkly example
    • Max depth token etc security plugins
    • oneOf validation

- Async hooks
- Context sharing between hooks

  • Error handling

@ardatan ardatan changed the title Response Cache Plugin Proposal Response Cache Plugin Example Oct 13, 2025
@ardatan ardatan force-pushed the response-cache-plugin-example branch 2 times, most recently from 6625e3a to 018dba9 Compare October 13, 2025 14:06
@github-actions
Copy link

github-actions bot commented Oct 13, 2025

k6-benchmark results

     ✓ response code was 200
     ✓ no graphql errors
     ✓ valid response structure

     █ setup

     checks.........................: 100.00% ✓ 214083      ✗ 0    
     data_received..................: 6.3 GB  208 MB/s
     data_sent......................: 84 MB   2.8 MB/s
     http_req_blocked...............: avg=3.69µs   min=661ns   med=1.74µs  max=18.7ms   p(90)=2.48µs  p(95)=2.87µs  
     http_req_connecting............: avg=854ns    min=0s      med=0s      max=2.3ms    p(90)=0s      p(95)=0s      
     http_req_duration..............: avg=20.54ms  min=2.27ms  med=19.59ms max=127.71ms p(90)=27.97ms p(95)=31.08ms 
       { expected_response:true }...: avg=20.54ms  min=2.27ms  med=19.59ms max=127.71ms p(90)=27.97ms p(95)=31.08ms 
     http_req_failed................: 0.00%   ✓ 0           ✗ 71381
     http_req_receiving.............: avg=139.71µs min=25.26µs med=40.45µs max=22.77ms  p(90)=95.48µs p(95)=396.05µs
     http_req_sending...............: avg=26.37µs  min=5.49µs  med=10.89µs max=22.48ms  p(90)=16.59µs p(95)=30.5µs  
     http_req_tls_handshaking.......: avg=0s       min=0s      med=0s      max=0s       p(90)=0s      p(95)=0s      
     http_req_waiting...............: avg=20.38ms  min=2.2ms   med=19.46ms max=126.74ms p(90)=27.72ms p(95)=30.79ms 
     http_reqs......................: 71381   2374.147478/s
     iteration_duration.............: avg=21.01ms  min=5.29ms  med=19.94ms max=251.44ms p(90)=28.39ms p(95)=31.54ms 
     iterations.....................: 71361   2373.482273/s
     vus............................: 50      min=50        max=50 
     vus_max........................: 50      min=50        max=50 

@github-actions
Copy link

github-actions bot commented Oct 13, 2025

🐋 This PR was built and pushed to the following Docker images:

Image Names: ghcr.io/graphql-hive/router

Platforms: linux/amd64,linux/arm64

Image Tags: ghcr.io/graphql-hive/router:pr-482 ghcr.io/graphql-hive/router:sha-da04008

Docker metadata
{
"buildx.build.ref": "builder-f92fca2b-33b5-4604-b82f-db05aa684cc1/builder-f92fca2b-33b5-4604-b82f-db05aa684cc10/8gvpoqvyr6nyqfja82m74ovw9",
"containerimage.descriptor": {
  "mediaType": "application/vnd.oci.image.index.v1+json",
  "digest": "sha256:86568c0ad4e0b7a8902deba4c985966874fc1d6c87ee948e4b4f0762db389284",
  "size": 1609
},
"containerimage.digest": "sha256:86568c0ad4e0b7a8902deba4c985966874fc1d6c87ee948e4b4f0762db389284",
"image.name": "ghcr.io/graphql-hive/router:pr-482,ghcr.io/graphql-hive/router:sha-da04008"
}

@ardatan ardatan force-pushed the response-cache-plugin-example branch 2 times, most recently from 5bf73ce to 206136a Compare October 14, 2025 11:53
@dotansimha dotansimha force-pushed the main branch 4 times, most recently from 4cffb36 to c709bec Compare November 4, 2025 11:27
@ardatan ardatan changed the title Response Cache Plugin Example Plugin System API Nov 17, 2025
@ardatan ardatan force-pushed the response-cache-plugin-example branch from 8f5ba0e to 22279bf Compare November 17, 2025 11:24
@github-actions
Copy link

github-actions bot commented Nov 17, 2025

🐋 This PR was built and pushed to the following Docker images:

Image Names: ghcr.io/graphql-hive/router

Platforms: linux/amd64,linux/arm64

Image Tags: ghcr.io/graphql-hive/router:pr-482 ghcr.io/graphql-hive/router:sha-251dc4a

Docker metadata
{
"buildx.build.ref": "builder-d558b599-ed18-4549-9fb1-961c8fe754f2/builder-d558b599-ed18-4549-9fb1-961c8fe754f20/74ys7o1ljrngcxdjl6qxlx0fr",
"containerimage.descriptor": {
  "mediaType": "application/vnd.oci.image.index.v1+json",
  "digest": "sha256:f21cde028b1b43da095303df16c25b2c147c4871dbf6c0af0582adec6571677e",
  "size": 1609
},
"containerimage.digest": "sha256:f21cde028b1b43da095303df16c25b2c147c4871dbf6c0af0582adec6571677e",
"image.name": "ghcr.io/graphql-hive/router:pr-482,ghcr.io/graphql-hive/router:sha-251dc4a"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant